package com.general.mes.wm.domain;

import com.general.common.annotation.Excel;
import com.general.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.List;

/**
 * 库区设置对象 wm_storage_location
 * 
 * @author yinjinlu
 * @date 2022-05-07
 */
@Data
@ToString
public class WmStorageLocation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 库区ID */
    private Long locationId;

    /** 库区编码 */
    @Excel(name = "库区编码")
    private String locationCode;

    /** 库区名称 */
    @Excel(name = "库区名称")
    private String locationName;

    /** 仓库ID */
    @Excel(name = "仓库ID")
    private Long warehouseId;

    /** 面积 */
    @Excel(name = "面积")
    private BigDecimal area;

    /** 是否开启库位管理 */
    @Excel(name = "是否开启库位管理")
    private String areaFlag;

    /** 预留字段1 */
    private String attr1;

    /** 预留字段2 */
    private String attr2;

    /** 预留字段3 */
    private Long attr3;

    /** 预留字段4 */
    private Long attr4;

    private List<WmStorageArea> children;

}
